'''
1.break语句是用于在for或者while循环所嵌套的代码
2.他会终结最近的外层循环，如果循环有可选的else字句,也会跳过该子句
'''
count = 0
while True:
    print("hi while")
    count += 1
    if count == 3:
        break
    while True:
        print("OK while")
        break
else:
    print("跳出循环了")
#    hi while   OK while   hi while  OK while  hi while
